﻿using System;

namespace diantou.dataModel
{
    /// <summary>
    /// 评论
    /// </summary>
    [fastCSharp.emit.jsonSerialize(IsAllMember = true)]
    [fastCSharp.emit.jsonParse(IsAllMember = true)]
    [fastCSharp.emit.dataSerialize(IsReferenceMember = false, IsMemberMap = false)]
    [fastCSharp.code.cSharp.sqlModel]
    public partial class comment
    {
        /// <summary>
        /// 评论标识
        /// </summary>
        //[fastCSharp.code.cSharp.webView.outputAjax]
        public int Id;
        /// <summary>
        /// 用户标识
        /// </summary>
        [fastCSharp.code.cSharp.webView.outputAjax(IsIgnoreCurrent = true)]
        public int UserId;
        /// <summary>
        /// 评论时间
        /// </summary>
        public System.DateTime CommentTime = fastCSharp.date.NowSecond;
        /// <summary>
        /// 关联标识
        /// </summary>
        public int LinkId;
        /// <summary>
        /// 被评论用户标识
        /// </summary>
        public int ReceiveUserId;
        /// <summary>
        /// 被赞次数
        /// </summary>
        public int AgreeCount;
        /// <summary>
        /// 评论内容
        /// </summary>
        [fastCSharp.emit.dataMember(MaxStringLength = 64 << 10)]
        public string Content;
    }
}
